<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
  <bean name="/${properties.projectName?uncap_first}/controller/queryController.do" class="org.xwlabs.query.QueryController">
    <property name="methodNameResolver">
            <ref bean="paraMethodResolver"/>
    </property>
    <property name="validator" ref="queryValidator"/>
    <property name="baseDAO" ref="baseDAO"/> 
  </bean>
  <#list tableList as tab>
  <bean name="/${properties.projectName?uncap_first}/controller/${tab.tableClassName?uncap_first}Controller.do" class="${properties.controllerPkgName}.${tab.tableClassName}Controller">
    <property name="methodNameResolver">
            <ref bean="paraMethodResolver"/>
    </property>
    <property name="validator" ref="${tab.tableClassName?uncap_first}Validator"/>
    <property name="${tab.tableClassName?uncap_first}BO" ref="${tab.tableClassName?uncap_first}BO"/> 
<#list tab.importKeyArray as impKey>    
    <property name="${impKey.keyTableClassName?uncap_first}BO" ref="${impKey.keyTableClassName?uncap_first}BO"/>
</#list>    
  </bean>
  </#list>
</beans>